package aa.jx.cartFunction.mapper;

import aa.jx.cartFunction.model.AddressDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AddressMapper {
    List<AddressDTO> selectAddressesByUserId(@Param("userId") Integer userId);
    AddressDTO getAddressById(@Param("id") Integer id);
}